<template>
  <div>
    <svg-icon :icon-class="isFullscreen ? 'exit-fullscreen' : 'fullscreen'" @click="toggle" :color="color" />
  </div>
</template>
<script setup lang="ts">
const props = defineProps({
  color: {
    type: String,
    default: ''
  }
});
const { isFullscreen, toggle } = useFullscreen();
</script>
